package cn.s1995.sloth.bizs.entity;

import cn.s1995.sloth.bizs.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 产品属性
 *
 * @author Lex
 * @date 2023-12-15 00:51:46
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "产品属性")
@TableName("biz_prod_prop")
public class ProdProp extends BaseEntity {


	/**
	* 属性id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "属性id")
    private Long propId;

	/**
	* 属性名称
	*/
    @Schema(description = "属性名称")
    private String propName;

	/**
	* 属性规则：1.销售属性(规格) 2.参数属性
	*/
    @Schema(description = "属性规则：1.销售属性(规格) 2.参数属性")
    private Integer rule;

	/**
	* 店铺id
	*/
    @Schema(description = "店铺id")
    private Long shopId;
}
